package com.zhiche.lisa.tms.dao.model.bo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.io.Serializable;
import java.util.Date;

public class ShipTaskCountBo implements Serializable{

    @JsonSerialize(using=ToStringSerializer.class)
    private Long id;

    /**
     * 运输任务编号
     */
    private String taskCode;

    /**
     * 车辆清单
     */
    private Integer itemCount;

    /**
     * 起点对应的location code
     */
    private String originLocationCode;

    /**
     * 起点
     */
    private String startAddress;

    /**
     * 终点对应的location code
     */
    private String destLocationCode;

    /**
     * 终点
     */
    private String endAddress;


    /**
     * 创建时间
     */
    private Date gmtCreate;

    /**
     * 实际启程时间
     */
    private Date gmtSetoff;

    /**
     * 实际交付时间
     */
    private Date gmtDeliver;

    /**
     * 任务完成时间(运抵时间)
     */
    private Date gmtFinish;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTaskCode() {
        return taskCode;
    }

    public void setTaskCode(String taskCode) {
        this.taskCode = taskCode;
    }

    public Integer getItemCount() {
        return itemCount;
    }

    public void setItemCount(Integer itemCount) {
        this.itemCount = itemCount;
    }

    public String getOriginLocationCode() {
        return originLocationCode;
    }

    public void setOriginLocationCode(String originLocationCode) {
        this.originLocationCode = originLocationCode;
    }

    public String getStartAddress() {
        return startAddress;
    }

    public void setStartAddress(String startAddress) {
        this.startAddress = startAddress;
    }

    public String getDestLocationCode() {
        return destLocationCode;
    }

    public void setDestLocationCode(String destLocationCode) {
        this.destLocationCode = destLocationCode;
    }

    public String getEndAddress() {
        return endAddress;
    }

    public void setEndAddress(String endAddress) {
        this.endAddress = endAddress;
    }

    public Date getGmtSetoff() {
        return gmtSetoff;
    }

    public void setGmtSetoff(Date gmtSetoff) {
        this.gmtSetoff = gmtSetoff;
    }

    public Date getGmtDeliver() {
        return gmtDeliver;
    }

    public void setGmtDeliver(Date gmtDeliver) {
        this.gmtDeliver = gmtDeliver;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtFinish() {
        return gmtFinish;
    }

    public void setGmtFinish(Date gmtFinish) {
        this.gmtFinish = gmtFinish;
    }

    @Override
    public String toString() {
        return "ShipTaskCountBo{" +
                "id=" + id +
                ", taskCode='" + taskCode + '\'' +
                ", itemCount=" + itemCount +
                ", originLocationCode='" + originLocationCode + '\'' +
                ", startAddress='" + startAddress + '\'' +
                ", destLocationCode='" + destLocationCode + '\'' +
                ", endAddress='" + endAddress + '\'' +
                ", gmtCreate=" + gmtCreate +
                ", gmtSetoff=" + gmtSetoff +
                ", gmtDeliver=" + gmtDeliver +
                ", gmtFinish=" + gmtFinish +
                '}';
    }
}
